﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TesterInfoInput.aspx.cs" Inherits="EvaluationSystem.TesterInfoInput" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>输入个人信息</title>
    
     <script language="javascript">         
    <!--
         javascript: window.history.forward(1);  
    //-->         
    </script>  
    <!--[if IE 6]>
		<script src="../Styles/ziyou718.js"></script>
       		<script>
			DD_belatedPNG.fix('#car,img')
		</script>
<![endif]-->
    <link href="../Styles/ziyou718.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
         function ShowDlg(a,b) {
             var url = "QuestionRepeat.aspx?guid=" + a + "&logopath=" + b;
             var sheight = screen.height-100;
             var swidth = screen.width-20;
             var winoption = "dialogHeight:" + sheight + "px;dialogWidth:" + swidth + "px;center:yes;scroll:no;status:yes";
             window.showModalDialog(url, "", winoption);
             window.close();
         }

         function Check() {
             var xingming = document.getElementById("txtbUserName");
             var birthday = document.getElementById("txtBirthday");
             var jingxiaoshang = document.getElementById("txtbDealer");
             var department = document.getElementById("txtbDepartment");
             var zhiwu = document.getElementById("txtbApplication");
             //var dianhua = document.getElementById("txtbMobile");
             var Email = document.getElementById("txtbEmail");
             
             var regName = /^[\u4e00-\u9fa5]{2,4}$/;
             if (!regName.test(xingming.value)) {
                 alert("请输入真实姓名！");
                 return false;
             }           

             if (birthday.value == "" || birthday.value.length != 10) {
                 alert("请输入出生日期！");
                 return false;
             }

             if (jingxiaoshang.value == "") {
                 alert("请输入经销商名称！");
                 return false;
             }

             if (department.value == "") {
                 alert("请输入所属部门！");
                 return false;
             }

             if (zhiwu.value == "") {
                 alert("请输入职务信息！");
                 return false;
             }

             if (Email.value != "") {
                 var regEmail = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
                 if (!regEmail.test(Email.value)) {
                     alert("请输入正确的Email信息！");
                     return false;
                 }
             }
         }
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="begin">
        <div class="b">
            <ul class="pp">
                <asp:Image Width="50px" Height="50px" AlternateText="LOGO" runat="server" ID="usrLogo"/></ul>
            <ul class="pp2">
                <img src="../images/5.png" /></ul>
        </div>
        <div class="b5">
            <dl>
                <dd>
                </dd>
                <dd>
                    <span class="ccc8">中文真实姓名：</span> <span>
                        <asp:TextBox ID="txtbUserName" runat="server" Width="150px" CssClass="input"></asp:TextBox></span>
                    <span>*</span>
                </dd>
                <dd>
                    <span class="ccc8">性别：</span> <span>
                        <asp:DropDownList ID="ddlSex" runat="server" CssClass="controlstyle">
                            <asp:ListItem>男</asp:ListItem>
                            <asp:ListItem>女</asp:ListItem>
                        </asp:DropDownList>
                    </span><span>*</span></dd>
                <dd>
                    <span class="ccc8">出生日期：</span> <span>
                        <input id="txtBirthday" name="txtBirthday" runat="server" class="input" type="text"
                            onclick="WdatePicker()" width="150px"/></span> <span>*</span></dd>
                <dd>
                    <span class="ccc8">最高学历：</span> <span>
                        <asp:DropDownList ID="ddlEducation" runat="server" CssClass="controlstyle" Width="150px">
                            <asp:ListItem>高中及以下</asp:ListItem>
                            <asp:ListItem>中专</asp:ListItem>
                            <asp:ListItem>大专</asp:ListItem>
                            <asp:ListItem>本科</asp:ListItem>
                            <asp:ListItem>硕士</asp:ListItem>
                            <asp:ListItem>博士以上</asp:ListItem>
                        </asp:DropDownList>
                    </span><span>*</span></dd>
                <dd>
                    <span class="ccc8">经销商名称：</span> <span>
                        <asp:TextBox ID="txtbDealer" runat="server" class="input" Width="150px"></asp:TextBox></span><span>*</span></dd>
                <dd>
                    <span class="ccc8">所属部门：</span><span><asp:TextBox ID="txtbDepartment" runat="server"
                        class="input" Width="150px"></asp:TextBox></span><span>*</span></dd>
                <dd>
                    <span class="ccc8">职务：</span><span><asp:TextBox ID="txtbApplication" runat="server"
                        class="input" Width="150px"></asp:TextBox></span><span>*</span></dd>
                <dd>
                    <span class="ccc8">联系电话：</span><span><asp:TextBox ID="txtbMobile" runat="server"
                        class="input" Width="150px" OnKeyPress="if(!((event.keyCode>=48)&&(event.keyCode <=57))) {event.returnValue=false;}"></asp:TextBox></span><span></span></dd>
                <dd>
                    <span class="ccc8">E-MAIL：</span><span><asp:TextBox ID="txtbEmail" runat="server"
                        class="input" Width="150px"></asp:TextBox></span><span></span></dd>
                <dd>
                    <span class="ccc8">本岗位累计工作年限：</span><span>
                        <asp:DropDownList ID="ddlExperience" runat="server" Width="150px" CssClass="controlstyle">
                            <asp:ListItem>&lt;=1.5年</asp:ListItem>
                            <asp:ListItem>1.5年~~ 3年</asp:ListItem>
                            <asp:ListItem>3年~~5年</asp:ListItem>
                            <asp:ListItem>5年~~8年</asp:ListItem>
                            <asp:ListItem>8年~~12年</asp:ListItem>
                            <asp:ListItem>12年~~18年</asp:ListItem>
                            <asp:ListItem>18年以上</asp:ListItem>
                        </asp:DropDownList>
                    </span><span>*</span></dd>
                <dd>
                    <span class="ccc8">本店累计工作年限：</span><span>
                        <asp:DropDownList ID="ddlExperienceInner" runat="server" CssClass="controlstyle"
                            Width="150px">
                            <asp:ListItem>&lt;=1.5年</asp:ListItem>
                            <asp:ListItem>1.5年~~ 3年</asp:ListItem>
                            <asp:ListItem>3年~~5年</asp:ListItem>
                            <asp:ListItem>5年~~8年</asp:ListItem>
                            <asp:ListItem>8年~~12年</asp:ListItem>
                            <asp:ListItem>12年~~18年</asp:ListItem>
                            <asp:ListItem>18年以上</asp:ListItem>
                        </asp:DropDownList>
                    </span><span>*</span></dd>
                <dd class="h50 ccc7">
                    <asp:ImageButton runat="server" ID="btnChange" ImageUrl="../images/16.gif" 
                        onclick="btnChange_Click" />
                </dd>
            </dl>
            <div class="c">
            </div>
        </div>
        <div class="bb">
        </div>
        <div class="c h50">
        </div>
    </div>
    </form>
</body>
</html>
